home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / pix / mwb / idp_ma10.lha / Magic-AMMS-Icons / AMMS / mbSTART_2+ < prev    next >
Encoding:
Text File  |  1997-07-22  |  894 b   |  35 lines

  1.  
  2. ;------    End of installer-created section
  3.  
  4. assign libs:     amms:libs  add         ; get amms libraries from this dir
  5. assign c:        amms:c     add         ; add path to amms amigados commands
  6. assign fonts:    amms:fonts add         ; add path to fonts (ibm.font)
  7.  
  8. resident amms:c/port
  9. resident amms:c/killport
  10. resident amms:c/sconnect
  11. resident amms:c/sethflags
  12. resident amms:c/setreturn
  13. resident amms:c/waitforamms
  14. failat 10
  15. endif
  16.  
  17. cd amms:
  18. status >nil: com mbserver
  19. if warn
  20.  run mbserver                            ; start mbserver
  21.  waitforamms                             ; wait for server startup
  22.  run >nil: mbstat                        ; start mbstat
  23.  
  24.  ;------ Automatic startup of all ports
  25.  
  26.  failat 100
  27.  cd startup
  28.  list >t:mbstartup #?.info lformat "port %m" files sort n
  29.  execute >nil: t:mbstartup
  30.  delete >nil: t:mbstartup
  31. else
  32.  echo "*nMBSERVER is already running!"
  33.  wait 2
  34. endif
  35.